|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The generic type of the individuals.public interface IInteractiveFitnessEvaluator<T extends IIndividual<T>>
Interface for interactive fitness evaluators.
| Method Summary | |
|---|---|
void |
addEvaluationListener(EvaluationListener<T> listener)
Adds an EvaluationListener that will be notified about the
evaluation state. |
void |
evaluate(T individual)
Evaluates the given individual. |
void |
fireIndividualEvaluated(T individual)
Notification method that causes all EvaluationListeners being
notified that the evaluator has evaluated the individual. |
void |
fireNewIndividualRequested()
Notification method that causes all EvaluationListeners being
notified that the evaluator demands a new individual for evaluation. |
ISIGA<T> |
getAlgorithm()
Getter for the interactive genetic algorithm. |
void |
removeEvaluationListener(EvaluationListener<T> listener)
Adds an EvaluationListener. |
void |
setAlgorithm(ISIGA<T> algorithm)
Sets the interactive genetic algorithm. |
| Method Detail |
|---|
void evaluate(T individual)
IFitnessEvaluator
evaluate in interface IFitnessEvaluator<T extends IIndividual<T>>individual - Individual to evaluate.void addEvaluationListener(EvaluationListener<T> listener)
EvaluationListener that will be notified about the
evaluation state.
listener - The listener.void removeEvaluationListener(EvaluationListener<T> listener)
EvaluationListener.
listener - The listener.void fireNewIndividualRequested()
EvaluationListeners being
notified that the evaluator demands a new individual for evaluation.
void fireIndividualEvaluated(T individual)
EvaluationListeners being
notified that the evaluator has evaluated the individual.
individual - The evaluated individual.void setAlgorithm(ISIGA<T> algorithm)
algorithm - The SIGA.ISIGA<T> getAlgorithm()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||